/*
 * @Description: index.scss
 * @Author: 张玉成
 * @Date: 2019-04-15 08:58:36
 * @LastEditTime: 2019-04-21 20:25:04
 */
@charset "utf-8";
@import '../basic/variables';
@import '../basic/mixins';

.book-list {
    width: 1023px;
    margin: 60px auto;
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    .book-list-item {
        margin-bottom: 80px;
        width: 195px;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-right: 78px;
        &:nth-child(4*n) {
            margin-right: 0;
        }
        img {
            flex: none;
            width: 169px;
            height: 222px;
        }
        .book-list-item-box {
            p {
                margin-bottom: 7px;
                height: 53px;
                text-align: center;
                font-size: 16px;
                font-weight: 400;
                color: rgba(0, 0, 0, 1);
                line-height: 26px;
                @include text-truncate(2);
            }
            a {
                margin: 0 auto;
                width: 88px;
                height: 31px;
                background: rgba(255, 255, 255, 1);
                box-shadow: 0px 1px 6px 1px rgba(4, 0, 0, 0.24);
                border-radius: 10px;
                display: flex;
                align-items: center;
                justify-content: center;
                span {
                    font-size: 13px;
                    font-weight: 400;
                    color: rgba(0, 0, 0, 1);
                }
            }
        }
    }
}
